package interfacedemo;

public class BasketballCoach extends Person{
    public BasketballCoach() {
    }
    public BasketballCoach(String name,int age) {
        super(name,age);
    }
    @Override
    public void action() {
        System.out.println(getAge()+"岁的篮球学院"+getName()+"学篮球");
    }
}
